home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>1</cardCount>
- <cardID>3608</cardID>
- <listID>2952</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on startUp
- getHomeInfo
- pass startUp -- to a startUp XCMD, if present
- end startUp
-
- on resume
- getHomeInfo
- pass resume -- to a resume XCMD, if present
- end resume
-
- on getHomeInfo
- global stacks,applications,documents,userName
- set lockScreen to true
- set lockMessages to true
- push this card
- go to card "User Preferences" of stack "Home"
- put card field "User Name" into userName
- set userLevel to card field "User Level"
- set powerKeys to the hilite of button "Power Keys"
- set blindTyping to the hilite of button "Blind Typing"
- put field "paths" of card "stacks" into stacks
- put field "paths" of card "applications" into applications
- put field "paths" of card "documents" into documents
- pop card
- set lockScreen to false
- set lockMessages to false
- end getHomeInfo
-
- on searchScript pattern,stackName -- search all scripts of a stack
- set lockMessages to true
- if stackName is not empty then go to stack stackName
-
- if the script of this stack contains pattern
- then edit script of this stack
-
- repeat with i = 1 to the number of bkgnds
- go to card 1 of bkgnd i
- if the script of this bkgnd contains pattern
- then edit script of bkgnd
-
- repeat with j = 1 to the number of bkgnd buttons
- if the script of bkgnd button j contains pattern
- then edit script of bkgnd button j
- end repeat
-
- repeat with j = 1 to the number of bkgnd fields
- if the script of bkgnd field j contains pattern
- then edit script of bkgnd field j
- end repeat
-
- end repeat
-
- repeat with i = 1 to the number of cards
- go card i
- if the script of this card contains pattern
- then edit script of this card
-
- repeat with j = 1 to the number of card buttons
- if the script of card button j contains pattern
- then edit script of card button j
- end repeat
-
- repeat with j = 1 to the number of card fields
- if the script of card field j contains pattern
- then edit script of card field j
- end repeat
-
- end repeat
- set lockMessages to false
- end searchScript
-
- </script>
- <background id="2615" file="background_2615.xml" name="" />
- <card id="3608" file="card_3608.xml" marked="false" name="User Preferences" owner="2615" />
- </stack>
-